package jay.home.bet.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import jay.home.bet.domain.User;

public interface AccountDao
{
	User getUser(String username) throws DataAccessException;

	void updateUser(User user) throws DataAccessException;

	List<User> getAliveUsers(int page, int range) throws DataAccessException;
	
	List<User> getAllUsers(int page, int range) throws DataAccessException;

	void insertUser(User user) throws DataAccessException;

	void deleteUser(User user) throws DataAccessException;
}